| Related sites for http://www.ajkids.com/ |
| BJ_Pinchbeck\'s_Help_with_Homework More than 625 links to educational sites appropriate for homework help. | | Bob\'s_Place Categorized sites for kindergarten students through high schoolers, as well as teachers. Includes English and French content. | | Center_of_Web\'s_Kids_Lynx Kids links portal that is organized by subject. | | Children_Canada Searchable collection of kid-safe links organized by category. | | Children\'s_Book_Sequels Find links to the next book in a favorite series by visiting the author's website. | | Childsafe_Kid\'s_Stuff Presents links to games, stories, and activities. | | CompuServe_Kids_Web_Center Categories include entertainment, fun and games, school subjects, sports, and hot topics like Harry Potter, Barbie and Pokemon. | | CyberSleuth_Kids A comprehensive educational search engine, directory and homework helper for the K-12 student. A virtual library and reference tool providing easy access to thousands of safe subject-specific sites. | | Cybrarian Links for homework assignments and research projects. Topics includes social studies, English, math, and science. Offers links to magazines, museums, and other reference sites. For kids in grades 3 | | Dewey_Browse Contains web sites classified by the Dewey Decimal Classification System for K-12 students. | | DiscoverySchool Offers educational resources for students and teachers. Includes educational games, a directory of homework help sites, lesson plans, and a free clipart gallery. | | Eggboy\'s_Page_O\'Stuff Categories of links include weather, holidays, space travel, animation, crafts, animals, games, and school. | | Eggy\'s_World Seven categories of links to interactive, safety tested, kids' web pages. | | Explorations_4_Kids_Directory Web sites to teach kids stuff in a fun way. Collected by a home schooling parent. | | FirstGov_for_Kids Worldwide directory of government and non-government sites grouped by subject. | | FunBrain_com Education sites for K-8 teachers and kids. Find online educational games for kids of all ages, including math, grammar, science, spelling, and history. | | Grade_Level_Internet_Links Links for kids K-5, selected and indexed by a group of elementary school teachers. Social studies, language arts, math and science links. | | Great_Web_Sites_For_Kids An easy-to-use, practical guide to informational, educational, and recreational services on the Internet. | | HomeworkSpot Directory of sites covering school subjects from kindergarten to high school. | | Indian_Child Includes links to fun, games, jokes, and topics related to India. | | Ingram_Library A listing of sites by government agencies designed for children. | | Interesting_Places_for_Kids Hundreds of kids sites grouped by topic. Includes short description of each site. | | Internet_Public_Library__Kidspace A collection of Web sites for kids. Also has HTML tips and a form for asking questions. | | Internet_Search_Engines_for_Kids Kids can search the major search engines from one page. There are links to web directories designed for kids. | | Ithaki_Kids_Metasearch Search engine that finds sites for kids searching simultaneously in various guides, search engines and directories. | | Kid_Info__Homework_Help Directory of kid-friendly sites for homework help, reference resources, fun and games, and search engines. | | Kid-Friendly_Search Banner links to kid friendly sites organized by subject area. High U.S. concentration in the Social Studies area. | | KidGrid Directory of kid-safe sites. Available in five languages. | | 4Kids Links to sites for kids organized by topic. Entertainment, activities, reading, science, social studies, and study resources. | | Kids_321 Safe portal links to favorite video games, cartoons, TV shows, movies, music and toys. [An IE only site.] | | Kids_Channel A place for children of all ages to play and explore the internet. [Requires an ActiveX control.] | | Kids_Like_It Interactive portal created by children for children. | | Kid\'s_Online_Resources Online directory of resource links to education, homework help, entertainment, games, music,internet safety. | | Kids_Web Links for students interested in the arts, science, or social studies. | | Kids_Web World wide web digital library for schoolkids. | | Kids\'_Webrary From the Morton Grove Public Library. Directory with selected fun and interesting links and lists of great books classified by a diversity of topics. | | Kids_World_2000 Links to entertaining and educational web pages around the world, spectacular museums, zoos, sports, science, games, and travel. | | KidsClick! Annotated searchable directory of websites created for kids by librarians. Searchable by subject, reading level and degree of picture content. | | KidSites_com A guide to the best in web sites for kids. | | KidsKonnect Includes links to fun games and educational articles on many different topics. Categories are alphabetized for easy selection. |
|
Ask Kidsfunction _RP(p) {return "http://wzus.askkids.com/r?t=p&d=us&s=k&c=h&l=dir&o=0&ld=3218&sv=0a300511&ip=d06d0e12&id=140358899C4767C7507277AA0143C23D&q=&p=0&qs=121&ac=24&g=1d28gh0%fr4QWh" + pob(p);}function _SP(p) {return "http://wzus.askkids.com/i/b.html?t=p&d=us&s=k&c=h&l=dir&o=0&ld=3218&sv=0a300511&ip=d06d0e12&id=140358899C4767C7507277AA0143C23D&q=&p=0&qs=121&ac=24&g=1d28gh0%fr4QWh" + pob(p);}function ptxt(a){var pt="";if (a.innerHTML) {pt=a.innerHTML;pt=pt.replace(/]+>/ig, "");pt=pt.replace(/&/g, "&");}return pt;}function pk(li,p,i) {if(li && li.href) {if (li.wzup) return true;if (!p.u)p.u=li.href;if (document.all && navigator.userAgent.indexOf("MSIE") != -1) {p.u = enc(p.u);}var a=(i)?obj(i):li;if (!p.pt){switch (p.en.toLowerCase()){case "js":case "is":p.pt = p.en.toUpperCase() + " thumbnail";break;default :p.pt = ptxt(a);}}li.href = _RP(p);li.wzup = 1;}return true;}function spk(li,p){if (li && li.href && p) {if (!p.u)p.u=li.href;if (!p.pt)p.pt=ptxt(li);}return (new Image()).src=_SP(p);}function ct(li, id) {if (li && li.href && id) {if (li.wzup) return true;var url = li.href;var oInnerHTML = li.innerHTML;li.href = "http://wzus.askkids.com/r?t=a&d=us&s=k&c=h&ti=1&ai="+enc(id)+"&l=dir&o=0&ld=3218&sv=0a300511&ip=d06d0e12&u="+enc(url)+"";if(navigator.userAgent.toLowerCase().indexOf('msie') != -1 && li.innerHTML != oInnerHTML){li.innerHTML=oInnerHTML;}li.wzup = 1;}return true;}function sct(id,li,im) {if (id){var url="";if (li) {url = ((li.href) ? li.href : li);}var retVal = "http://wzus.askkids.com/i/b.html?t=a&d=us&s=k&c=h&ti=1&ai="+enc(id)+"&l=dir&o=0&ld=3218&sv=0a300511&ip=d06d0e12&u="+enc(url)+"";retVal = retVal + "&rnd="+Math.random().toString();var img = new Image();img.src = retVal;if(!im) {setTimeout(function(){ img }, 100);}return retVal;}}function enc(s){return (typeof encodeURIComponent != "undefined") ? encodeURIComponent(s) : escape(s);}function obj(id,d){if (! d) { d=document; }var o=d.getElementById(id);return o;}function pob(po) {po = po||{};if (document.all && navigator.userAgent.indexOf("MSIE 6.0") != -1) {po.u = escape(po.u);po.u = po.u.replace(/%3A/g, ":");po.u = po.u.replace(/%3F/g, "?");po.u = po.u.replace(/%3D/g, "=");po.u = po.u.replace(/%26/g, "&");po.u = po.u.replace(/%25/g, "%");}return "&en="+h(po.en)+"&io="+h(po.io)+"&ep="+h(po.ep)+"&eo="+h(po.eo)+"&b="+h(po.b)+"&bc="+h(po.bc)+"&br="+h(po.br)+"&tp="+h(po.tp)+"&ec="+h(po.ec)+"&pt="+enc(h(po.pt))+"&ex="+h(po.ex)+"&url="+enc(h(po.url))+"&u="+h(po.u);}function h(v){return (v!=null&&v!='undefined')?v:"";}function cspk(li,src,io,sp) {var en="co";if( src == "ahdict"){en="ah";}if( src == "roget"){en="ro";}if( src == "wiki"){en="wk";}if( src == "col"){en="cb";}if( src == "hmwh"){en="h0";}if( src == "hmff"){en="h1";}if( src == "wordnet"){en="wn";}if( src == "wordnetuk"){en="wn";}var p={};p.en=en;p.b="sa";p.tp="d";p.ec="1";p.io=io;if(sp) {spk(li,p);} else {pk(li,p);}return true;}body {background-image:url(http://sp.askkids.com/i/askforkids/a10f/hp/bg_notebook2.gif);background-repeat:repeat-x;margin:0px;padding:0px;}#ftLinksCnt td div {margin-left: 5px;margin-right: 5px;}#q {left: 0px;border: 1px solid #7F9DB9;width: 400px;height: 20px;line-height: 20px;padding: 4px 0 0 1px;}#sbut {background-image:url(http://sp.askkids.com/i/askforkids/a10f/hp/search1.gif);width:77px;height:26px;border: medium none;padding: 0;vertical-align: top;}#logoBox {margin: 0px;padding: 0px;margin-top: 22px;}#logoBox img {vertical-align: bottom;margin: 0px;padding: 0px;}#headerBox{margin-left: 60px;z-index: 100;position: relative;}#queryContainer{z-index: 500;vertical-align: top;}#doodle {z-index: 0;}#pencilBoxContainer {z-index: 2;position: relative;top: -35px;}#d1, #d2, #d3, #d4, #d5, #d6 {top:20px;position:relative;cursor:pointer;z-index:10;}#dog {margin-left:370px;width:289px;height:314px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://sp.askkids.com/i/askforkids/a10f/hp/hp_img0.png', sizingMethod='crop');}#dogOverlay {position: absolute;top: 100px;left: 370px;width: 289px;height: 314px;z-index: 99;}#msgBubble {position:absolute;top:285px;margin-left:475px;z-index:1000;}#msg {height:130px;left:107px;position:absolute;top:17px;width:170px;font-family:courier;font-size:0.85em;font-weight:bold;z-index:1000;color:#0000CC;}#stamp {margin-left: 350px;width: 300px;}#ad {position:absolute;top:50px;left:623px;z-index:5;}#label1 {border:0px;position:absolute;top:128px;left:60px;z-index:100;}#label2 {border:0px;position:absolute;top:179px;left:60px;z-index:100;}#label3 {border:0px;position:absolute;top:232px;left:70px;z-index:100;}#label4 {border:0px;position:absolute;top:275px;left:65px;z-index:100;}#label5 {border:0px;position:absolute;top:325px;left:65px;z-index:100;}#label6 {border:0px;position:absolute;top:365px;left:65px;z-index:100;}#toolDiv {position:absolute;z-index:100;right:0px;top:10px;overflow:hidden;}#toolOps {position:absolute;z-index:100;right:75px;font-family:Courier New;}#toolBox {position:relative;z-index:100;margin-right:-20px;}#tool_pen, #tool_pencil, #tool_marker {z-index:9;}#drawTool {z-index:9;position:relative;margin-right:-700px;top:20px;}.L, .L:hover {text-decoration:none;font-family: Courier New;color:#000;font-size: 1em;}.L:hover {text-decoration:underline;color: #000;}.L:visited {color: #000;}.KT1 {color:#999999;font-family:Courier New;font-size:0.85em;}.KL1 {color:#0000CC;font-family:Courier New;font-size:0.85em;text-decoration:none;}.KL2:hover {text-decoration:underline;}.b {font-weight:bold;}.KL2 {color: black;font-family:Courier New;font-size: 1em;line-height:0.8em;text-decoration:none;}div#logo{z-index:100;height: 56px;width: 205px;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://sp.askkids.com/i/askforkids/a10f/hp/logo.png', sizingMethod='scale');}#headerLinks {position:absolute;right:0px;top: 20px;margin-right: 15px;z-index:1000;}a.headerLink, a.headerLink:visited, a.headerLink:hover{color: black;}#sgpane {position:absolute;}.zm {line-height:20px;padding-left:6px;}a,body,div,form,h1,h2,h3,h4,h5,h6,input,ol,option,p,select,table,td,th,ul,.L21, .T14{font-family:Arial,sans-serif;font-size:small;}a,a:visited { color:#0046D4;}.L19, .L21, .L23, .L13, .L6, .L20,.L1, .L16 {text-decoration:none;}.T3, .T5, .T7,.L13,.L20, .L3, .L8,.T19,.L16, a.L16:visited {font-size:.85em;}.T2{font-size:1.1em;}.L6, .L1, .L16 {color:#00C;}.L1:hover, .L16:hover {text-decoration:underline;}.T2, .T5, .T14 {color:#C00;}.L21, .L21:visited, .L20, .L20:visited, .L8, .L8:visited {color:#666;}.L13, .L13:visited {color:#FFF;}a.L3 {color:#0000CC}a.L3:visited {color:#0046D4;}.T19 {color:#Cf1a1a;font-family: "Trebuchet MS", Arial, sans-serif;text-transform: uppercase;}.T21{ font-size:1.6em; color:#Cf1a1a;}.b {font-weight:bold;}.T6 { font-size:1.2em; }a.L4, a.L4:visited { font-size:1.2em; }a.L4 {color:#0000CC;}a.L4:visited {color:#663399;}img.preload {display: none}#stickerPreload {display: none}if(!ask) {var ask = {};}if(!ask.kids) {ask.kids = {};}ask.kids._canvasContext = null;ask.kids._animIndex = 1;ask.kids._animHandle = null;ask.kids._penCoords = [[410,182],[440,189],[410,182],[452,207],[434,220],[412,211],[410,182],[477,211],[410,182],[531,221],[521,241],[484,237],[484,208],[528,223],[585,222],[645,198],[700,172],[750,137],[782,112],[815,81],[857,51],[912,32],[912,0]];ask.kids._penIndex = 0;ask.kids._drawMode = false;ask.kids._drawingStarted = false;ask.kids._view = "draw";ask.kids._drawingStates = [];ask.kids._currentDrawingState = null;ask.kids._currentStyle = null;ask.kids._currentDrawingTool = null;ask.kids._prevCoords = null;ask.kids._toolOffset = 0;ask.kids._urlPrefix = "http://sp.askkids.com";ask.kids._urlPrefixResults = "http://www.askkids.com/";ask.kids._boxAnimation = false;ask.kids._dogAnimated = false;ask.kids._boxState = 0;ask.kids._stickerPage = 0;ask.kids._maxPage = 1;ask.kids._kidsCookieDomain = "askkids.com";function getDimension() {var x, y;if (self.innerHeight){x = self.innerWidth;y = self.innerHeight;}else if (document.documentElement && document.documentElement.clientHeight){x = document.documentElement.clientWidth;y = document.documentElement.clientHeight;}else if (document.body){x = document.body.clientWidth;y = document.body.clientHeight;}return [x,y];}function init() {var qbox = $('q');if (qbox) {qbox.focus();}var dimension = getDimension();$('doodle').width = dimension[0] - 20;$('doodle').height = dimension[1];ask.kids.ctx = $('doodle').getContext('2d');ask.kids.initCanvas();ask.kids.toggleBox();$('pageBody').style.height = $('doodle').height;a10.element.show('pencilBoxContainer');document.onselectstart = function () { return false; }}ask.kids.initCanvas = function() {ask.kids.ctx.lineJoin = 'round';ask.kids.ctx.lineCap = 'round';ask.kids.retrieveDrawing();}ask.kids.stickMode = function() {$('stickers').style.display = '';$('tool_pen').style.display = 'none';$('tool_pencil').style.display = 'none';$('tool_marker').style.display = 'none';ask.kids._drawMode = false;if(ask.kids._view == 'draw') {slideLoop('drawTool', -490, -290, 50, "marginRight");}ask.kids._view = "stick";var drawUrl = $('btn_draw').src;$('btn_draw').src = drawUrl.substring(0, drawUrl.length - 5) + "n.png";var stickUrl = $('btn_stick').src;$('btn_stick').src = stickUrl.substring(0, stickUrl.length - 5) + "a.png";}ask.kids.stickerScrollLeft = function() {if(ask.kids._stickerPage> 0) {var prevLeft = ask.kids._stickerPage * -400;ask.kids._stickerPage--;var newLeft = ask.kids._stickerPage * -400;slideLoop('stickerPanel', prevLeft, newLeft, 40, "left");}}ask.kids.stickerScrollRight = function() {if(ask.kids._stickerPage < ask.kids._maxPage) {var prevLeft = ask.kids._stickerPage * -400;ask.kids._stickerPage++;var newLeft = ask.kids._stickerPage * -400;slideLoop('stickerPanel', prevLeft, newLeft, -40, "left");}}ask.kids.updatePagingStatus = function() {if(ask.kids._stickerPage> 0) {$('stickLeft').style.display = '';} else {$('stickLeft').style.display = 'none';}if(ask.kids._stickerPage != ask.kids._maxPage) {$('stickRight').style.display = '';} else {$('stickRight').style.display = 'none';}}ask.kids.drawMode = function() {$('stickers').style.display = 'none';$('tool_pen').style.display = '';$('tool_pencil').style.display = '';$('tool_marker').style.display = '';_picking = true;if(ask.kids._view == 'stick') {slideLoop('drawTool', -290, -490, -50, "marginRight");}ask.kids._view = "draw";var drawUrl = $('btn_draw').src;$('btn_draw').src = drawUrl.substring(0, drawUrl.length - 5) + "a.png";var stickUrl = $('btn_stick').src;$('btn_stick').src = stickUrl.substring(0, stickUrl.length - 5) + "n.png";if(ask.kids._currentDrawingTool) {ask.kids.setDrawingTool(ask.kids._currentDrawingTool);}}ask.kids.cancelDefaultAction = function(e) {if (e.preventDefault) {e.preventDefault();}else {e.returnValue = false;e.cancelBubble = true;}};ask.kids.selectTool = function(event, tool) {ask.kids.setDrawingTool(tool);_picking = true;ask.kids.cancelDefaultAction(event);}ask.kids.setDrawingTool = function(tool) {ask.kids._drawMode = true;$('tool_pen').style.display = '';$('tool_pencil').style.display = '';$('tool_marker').style.display = '';ask.kids._currentDrawingTool = tool;if(tool == "pencil") {$('tool_pencil').style.display = 'none';ask.kids.ctx.lineWidth = 1;ask.kids.ctx.globalAlpha = 1;ask.kids.ctx.strokeStyle = "#404040";ask.kids._currentDrawingStyle = { "lineWidth" : 1, "globalAlpha" : 1, "strokeStyle" : "#404040"};$("cursor").src = "http://sp.askkids.com/i/askforkids/a10f/hp/cursor_pencil.gif";ask.kids._toolOffset = 40;} else if(tool == "pen") {$('tool_pen').style.display = 'none';ask.kids.ctx.lineWidth = 1;ask.kids.ctx.globalAlpha = 1;ask.kids.ctx.strokeStyle = "#011BD0";ask.kids._currentDrawingStyle = { "lineWidth" : 1, "globalAlpha" : 1, "strokeStyle" : "#011BD0"};$("cursor").src = "http://sp.askkids.com/i/askforkids/a10f/hp/cursor_pen.gif";ask.kids._toolOffset = 34;} else if(tool == "marker") {$('tool_marker').style.display = 'none';ask.kids.ctx.lineWidth = 10;ask.kids.ctx.globalAlpha = 0.5;ask.kids.ctx.strokeStyle = "#EAFF5A";ask.kids._currentDrawingStyle = { "lineWidth" : 10, "globalAlpha" : 0.5, "strokeStyle" : "#EAFF5A"};$("cursor").src = "http://sp.askkids.com/i/askforkids/a10f/hp/cursor_hilite.gif";ask.kids._toolOffset = 32;}return false;}ask.kids.restoreBox = function() {if($('stickers').style.display == 'none') {$('tool_pen').style.display = '';$('tool_pencil').style.display = '';$('tool_marker').style.display = '';}}ask.kids.animatePencil = function() {$("pencil").style.display = '';$("pencil").style.left = ask.kids._penCoords[ask.kids._penIndex][0] + "px";$("pencil").style.top = (ask.kids._penCoords[ask.kids._penIndex][1]-260) + "px";ask.kids._penIndex++;if(ask.kids._penIndex> ask.kids._penCoords.length-1) {$("pencil").style.display = 'none';return;}if(ask.kids._penIndex> 15 && !ask.kids._dogAnimated) {ask.kids.animateDog();ask.kids._dogAnimated = true;}setTimeout(ask.kids.animatePencil, 100);}ask.kids.animateDog = function() {$("dog").src = "http://sp.askkids.com/i/askforkids/a10f/hp/dog" + ask.kids._animIndex + ".gif";ask.kids._animIndex++;if(ask.kids._animIndex> 3) {ask.kids._animIndex = 1;}ask.kids._animHandle = setTimeout(ask.kids.animateDog, 100);}ask.kids.redrawLast = function() {ask.kids.ctx.restore();ask.kids.ctx.beginPath();var points = ask.kids._drawingStates[ask.kids._drawingStates.length - 1]['points'];ask.kids.ctx.moveTo(points[0][0], points[0][1]);for(var j = 1; j < points.length; j++) {ask.kids.ctx.lineTo(points[j][0], points[j][1]);}ask.kids.ctx.stroke();ask.kids.ctx.closePath();}ask.kids.redraw = function(skinStickers) {ask.kids._drawMode=true;if (ask.kids._drawingStates.length> 0) {for(var i = 0; i < ask.kids._drawingStates.length; i++) {if(ask.kids._drawingStates[i].type == "drawing") {ask.kids.ctx.lineWidth = ask.kids._drawingStates[i]['lineWidth'];ask.kids.ctx.strokeStyle = ask.kids._drawingStates[i]['strokeStyle'];ask.kids.ctx.globalAlpha = ask.kids._drawingStates[i]['globalAlpha'];ask.kids.ctx.beginPath();var points = ask.kids._drawingStates[i]['points'];ask.kids.ctx.moveTo(points[0][0], points[0][1]);for(var j = 1; j < points.length; j++) {ask.kids.ctx.lineTo(points[j][0], points[j][1]);}ask.kids.ctx.stroke();ask.kids.ctx.closePath();} else if(ask.kids._drawingStates[i].type == "sticker" && !skinStickers){if(!ask.kids._drawingStates[i].obj) {var img = document.createElement("img");img.style.position = "absolute";img.style.zIndex = 11;img.style.left = ask.kids._drawingStates[i]['left'] + "px";img.style.top = ask.kids._drawingStates[i]['top'] + "px";img.style.id = ask.kids._drawingStates[i]['id'];img.src = ask.kids._urlPrefix + ask.kids._drawingStates[i]['url'];ask.kids._drawingStates[i].obj = img;document.body.appendChild(img);Drag.init(img);}}}}ask.kids._drawMode=false;}ask.kids.limitReached = function() {return ask.kids._drawingStates.length> 100;}function mdown(e) {if (a10.event.element(e) == $('q') || a10.event.element(e) == $('sbut')) {return;}if(ask.kids._drawMode && !_picking) {if(ask.kids.limitReached()) {alert("You're out of Memory! Reset or undo to continue.")return;}ask.kids._drawingStarted = true;var canvas = $('doodle');if (canvas.getContext){ask.kids.ctx.beginPath();ask.kids.ctx.moveTo(e.clientX, e.clientY );ask.kids._currentDrawingState = [];ask.kids._currentDrawingState[0] = [e.clientX, e.clientY ];}ask.kids.cancelDefaultAction(e);$("cursor").style.display = '';$("cursor").style.left = e.clientX + "px";$("cursor").style.top = (e.clientY-ask.kids._toolOffset) + "px";}}function mup(e) {if(ask.kids._drawMode && ask.kids._drawingStarted && !_picking) {ask.kids._drawingStarted = false$("cursor").style.display = 'none';ask.kids.cancelDefaultAction(e);var canvas = $('doodle');if (canvas.getContext){ask.kids.ctx.closePath();var state = {};state['points'] = ask.kids._currentDrawingState;state['type'] = "drawing";state['lineWidth'] = ask.kids.ctx.lineWidth;state['globalAlpha'] = ask.kids.ctx.globalAlpha;state['strokeStyle'] = ask.kids.ctx.strokeStyle;ask.kids._drawingStates[ask.kids._drawingStates.length] = state;if(ask.kids._currentDrawingTool == "marker") {var dimension = getDimension();ask.kids.ctx.clearRect(0,0,dimension[0] - 20,dimension[1] );ask.kids.redraw(true);ask.kids._drawMode = true;}}ask.kids._prevCoords = null;}_picking = false;}function mmove(e) {if(ask.kids._drawingStarted && !_picking) {ask.kids.cancelDefaultAction(e);if(ask.kids._prevCoords != null) {var xDiff = Math.abs(ask.kids._prevCoords[0] - e.clientX);var yDiff = Math.abs(ask.kids._prevCoords[1] - (e.clientY ));if(xDiff < 3 && yDiff < 3) {return;}} else {ask.kids._prevCoords = [];ask.kids._prevCoords[0] = e.clientX;ask.kids._prevCoords[1] = e.clientY ;}var canvas = $('doodle');if (canvas.getContext){ask.kids.ctx.lineTo(e.clientX, e.clientY );ask.kids.ctx.closePath();ask.kids.ctx.stroke();ask.kids.ctx.beginPath();ask.kids.ctx.moveTo(e.clientX, e.clientY );$("cursor").style.left = e.clientX + "px";$("cursor").style.top = (e.clientY - ask.kids._toolOffset) + "px";ask.kids._currentDrawingState[ask.kids._currentDrawingState.length] = [e.clientX, e.clientY ];}}}ask.kids.resize = function() {var dimension = getDimension();$('doodle').width = dimension[0] - 20;$('doodle').height = dimension[1] ;$('pageBody').style.height = $('doodle').height;ask.kids.redraw();}function cloneState(state) {if (state['type'] && state['type'] == 'sticker') {for (i in state) {if (i == 'obj') {this.top = parseInt(state.obj.style.top);this.left = parseInt(state.obj.style.left);}else {this[i] = state[i];}}}else {for (i in state) {this[i] = state[i];}}}ask.kids.toString = function(states) {var tempState = [];for(var i = 0; i < states.length; i++) {tempState[tempState.length] = new cloneState(states[i]);}return tempState.toJSONString();}ask.kids.toggleBox = function() {if(ask.kids._boxAnimation) {return ;}ask.kids.hideMsgBubble();ask.kids._boxAnimation = true;if(!ask.kids._boxState) {slideLoop('drawTool', -700, ask.kids._view == "draw" ? -490 : -290, 50, "marginRight");ask.kids._boxState = 1;$('toolOps').style.display = '';sct(43935);} else {slideLoop('drawTool', ask.kids._view == "draw" ? -490 : -290, -700, -50, "marginRight");ask.kids._boxState = 0;$('toolOps').style.display = 'none';ask.kids._drawMode = false;ask.kids._currentDrawingTool = nullask.kids.restoreBox();sct(43933);}a10.element.toggle('dogOverlay')}ask.kids.undo = function() {if(ask.kids._drawingStates && ask.kids._drawingStates.length> 0) {var currentTool = ask.kids._currentDrawingTool;var currentDrawing = ask.kids._drawMode;var lastState = ask.kids._drawingStates[ask.kids._drawingStates.length-1];if(lastState.type == 'sticker') {document.body.removeChild(lastState.obj);}ask.kids._drawingStates = ask.kids._drawingStates.slice(0, ask.kids._drawingStates.length-1);var dimension = getDimension();ask.kids.ctx.clearRect(0,0,dimension[0] - 20,dimension[1] );ask.kids.redraw();if (currentDrawing) {ask.kids.setDrawingTool(currentTool);}ask.kids._drawMode = currentDrawing;}_picking = true;}ask.kids.reset = function() {var prevTool = ask.kids._currentDrawingTool;var prevDrawing = ask.kids._drawMode;var dimension = getDimension();ask.kids.ctx.clearRect(0,0,dimension[0] - 20,dimension[1] );for(var i =0; i < ask.kids._drawingStates.length; i++) {if(ask.kids._drawingStates[i].type == "sticker") {document.body.removeChild(ask.kids._drawingStates[i].obj);}}ask.kids._drawingStates = [];_picking = true;if(ask.kids._drawMode && prevTool != '') {ask.kids.setDrawingTool(prevTool);}ask.kids._drawMode = prevDrawing;}function slideLoop(elementId, start, end, incr, prop) {var next = parseInt($(elementId).style[prop]) + incr;if(isNaN(next)) {next = start + incr;}if(incr> 0) {if(next> end) {$(elementId).style[prop] = end + "px";ask.kids._boxAnimation = false;return;}} else {if(next < end) {$(elementId).style[prop] = end + "px";ask.kids._boxAnimation = false;return;}}$(elementId).style[prop] = next + "px";setTimeout("slideLoop('"+elementId+"'," + start + "," + end+","+incr+",'"+prop+"')", 40);}ask.kids.initSticker = function(event, sticker, src, clickId) {if(ask.kids.limitReached()) {alert("You're out of Memory! Reset or undo to continue.")return false;}var img = document.createElement("img");img.style.position = "absolute";img.style.zIndex = 11;img.src = src;img.style.left = parseInt(event.clientX) -20 + "px";img.style.top = parseInt(event.clientY) - (img.height+100) + "px";img.id = "s" + new Date().getTime();ie6pngfix(img);document.body.appendChild(img);Drag.init(img);ask.kids._drawingStates[ask.kids._drawingStates.length] = {type:"sticker", url : img.src.substring(img.src.indexOf("/", 8)), obj : img, left : parseInt(img.style.left), top : parseInt(img.style.top), id : img.id};img.onmouseup = function(event) { sct(clickId); };return false;}ask.kids.showMsgBubble = function() {if (ask.kids._boxAnimation || ask.kids._boxState) {return;}a10.element.hide('show');$('msgBubble').style.display = '';}ask.kids.hideMsgBubble = function() {a10.element.hide('msgBubble');}ask.kids.save = function() {_picking = true;if(ask.kids._drawingStates != null) {var xml = 'xmlPostKids Homepagehttp://www.askkids.com ';var xhr = ask.kids.getRequestObj();var url = new String(window.location);url = url.substring(0, url.lastIndexOf('/'));url += "/mystuffapi/saveElement";var params = "xml="+xml+'&'+'method=xmlPost';xhr.open("POST", url, true);xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");xhr.setRequestHeader("Content-length", params.length);xhr.setRequestHeader("Connection", "close");xhr.onreadystatechange = function() {if(xhr.readyState == 4 && xhr.status == 200) {var xml = xhr.responML;var el = xml.getElementsByTagName('element')[0];if (el && el.attributes[0]) {var elitem = xml.getElementsByTagName('element')[0];var id = elitem.attributes[0].value;var userid =elitem.attributes[1].value;var nextYr = new Date();nextYr.setTime(nextYr.getTime() + 31536000000);Cookie.setCookie("PUID", userid, nextYr, "/", ask.kids._kidsCookieDomain);Cookie.setCookie("kdid", id, nextYr, "/", ask.kids._kidsCookieDomain);}}}xhr.send(params);}}ask.kids.retrieveDrawing = function() {var puid = Cookie.getCookie("PUID");var drawingId = Cookie.getCookie("kdid");if(puid) {var xhr = ask.kids.getRequestObj();var url = new String(window.location);url = url.substring(0, url.lastIndexOf('/'));url += "/mystuffapi/getElement";var params = "method=element&callerKey=&type=kd&detail=full&start=0&numRec=10&sort=date&id="+drawingId+"&uid=" + puid;xhr.open("GET", url+"?"+params, true);xhr.onreadystatechange = function() {if(xhr.readyState == 4 && xhr.status == 200) {var xml = xhr.responML;if(xml) {var elements = xml.getElementsByTagName('element');if(elements.length> 0) {var element = elements[0];var attrs = element.getElementsByTagName('attribute');for (var i=attrs.length - 1; i>= 0; i--) {var attr = attrs[i];if (attr) {var attrName = attr.attributes[0].value;if (attrName == 'padData') {var data = attr.childNodes[0].nodeValue;if(data) {ask.kids._drawingStates = data.parseJSON();ask.kids.redraw(false);}}}}}}}}xhr.send(null);}}ask.kids.getRequestObj = function() {if (window.XMLHttpRequest) {return new XMLHttpRequest();} else if (window.ActiveXObject) {try {return new ActiveXObject("Msxml2.XMLHTTP");} catch (e) {try {return new ActiveXObject("Microsoft.XMLHTTP");} catch (E) {return null;}}}else {return null;}}window.onresize = ask.kids.resize;var _suggestUrls = {web : "http://ss.ask.com/query?"};var _path = "http://www.askkids.com/web";var _disableSSApplicable = false;var _sharedSprite = "http://sp.askkids.com/sh/i/sprite/shared2.png"; function ie6pnghack(img, sizingMethod) {if(a10.browser.isIE6()) {var pixelUrl = $('pixel').src;if (img) {if(img.src.indexOf('pixl.gif') == -1) {img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', src="http://www.ajkids.com//" + img.src + "', sizingMethod='" + sizingMethod + "')";img.src = pixelUrl;}}}}function ie6pngfixscale(img) {ie6pnghack(img, 'scale');}function ie6pngfix(img) {ie6pnghack(img, 'image');}Help | Report a Problem      > Undo> Reset     #ftLinksCnt {margin:0;padding:0;width:100%;clear:both;}© 2008 Ask.comPrivacy Policy | About | Parentsvar _noSSFoundMsg = "No Search Suggestions Found";var _disableSSMsg = "Disable";var _language = "en";var _country = "US";Search Suggestions      |
|